Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.favorites.actions--actions

This contribution is part of XML component org.nuxeo.ecm.favorites.actions inside nuxeo-platform-collections-jsf-6.0.jar

Extension Point

Extension point actions of component ActionService.

Contributed Items

  • <action icon="/icons/pin.png" id="addToFavoritesAction" label="label.addToFavorites" link="#{favoritesActions.addCurrentDocumentToFavorites()}" order="0">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>canAddToFavorites</filter-id>
        </action>
  • <action icon="/icons/pinned.png" id="removeFromFavoritesAction" label="label.removeFromFavorites" link="#{favoritesActions.removeCurrentDocumentFromFavorites()}" order="0">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>canRemoveFromFavorites</filter-id>
        </action>

XML Source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">

    <!-- action id="Favorites" link="/user_center_fragment.xhtml" label="user.center.favorites"
      order="80" icon="/icons/favorite_tab.png"> <category>USER_CENTER</category> <properties>
      <property name="alwaysDisplaySubTabs">true</property> </properties> <filter-id>not_anonymous</filter-id>
      </action> <action id="favoritesContent" link="/incl/favorites_content_listing.xhtml"
      label="user.center.favorites" order="0"> <category>Favorites_sub_tab</category> <filter-id>not_readonly</filter-id>
      </action -->

    <action icon="/icons/pin.png" id="addToFavoritesAction" label="label.addToFavorites" link="#{favoritesActions.addCurrentDocumentToFavorites()}" order="0">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>canAddToFavorites</filter-id>
    </action>

    <action icon="/icons/pinned.png" id="removeFromFavoritesAction" label="label.removeFromFavorites" link="#{favoritesActions.removeCurrentDocumentFromFavorites()}" order="0">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>canRemoveFromFavorites</filter-id>
    </action>

  </extension>